Objects Reference

directX::remove_player

Prototype

void *remove_player(int i)

Parameters

Parameter Type Description
i int player index

Return Value

Returns the data associated with the player when the player was created.

Remarks

This function removes a player from the game. The parameter i must be the index of the player in the players array.